package com.bishe.serivce;

import com.bishe.pojo.Business;
import com.bishe.pojo.Clientinfo;

import java.util.List;

/**
 * 业务接口
 * @date 2022/03/02 36:11:09
 */
public interface IBusinessService {

    /**
     * 查询所有
     * @return
     */
    List<Business> findAll();

    /**
     * 添加
     * @param business
     */
    void save(Business business);


    /**
     * 根据id修改
     * @param business
     */
    void updateById(Business business);

    /**
     * 根据id删除
     * @param id
     */
    void deleteById(String id);
}
